package boot.spring.service;

import boot.spring.entity.Users;
import boot.spring.util.Result;

public interface UserInfoService {
	
	public Result login(Users u);
	
	public Result register(Users u);
	
	public Users getUserByName(String name);
	
	public Result getAllUser();

	/*根据用户的id去修改用户密码输入错的次数和是否锁定以及锁定时间*/
	public Integer getUpUser(Users u);


	/*修改用户密码*/
	public Result getUppawUer(String upaw,String upaw2,String uloginname);

}
